package com.zmn.oms.zmn.business.interfaces.open;

import com.zmn.oms.common.exception.OmsBaseException;
import com.zmn.oms.model.entity.warn.OrderWarnReplyEvent;
import org.springframework.scheduling.annotation.Async;

/**
 * 类描述：
 *
 * @author LiangHailong
 * @date 2019/07/30 15:16
 */
public interface OrderWarnReplyNotifyService {

    /**
     * 订单预警回复通知
     * @param orderWarnReplyEvent
     * @throws OmsBaseException
     */
    @Async
    void notifyOrderWarnReply(OrderWarnReplyEvent orderWarnReplyEvent) throws OmsBaseException;
}
